package org.ne.springboot.utils;



/**
 * @author wey
 */
public class ThreadLocalUtils {


    private static final   ThreadLocal THREAD_LOCAL = new ThreadLocal();

    public static <T> T get() {
        return (T) THREAD_LOCAL.get();
    }

    public static void set(Object object) {
        THREAD_LOCAL.set(object);
    }

    public static void remove() {
        THREAD_LOCAL.remove();
    }

}
